home *** CD-ROM | disk | FTP | other *** search
/ Aminet 30 / Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso / Aminet / comm / net / AmiMUD.lha / AmiMUD / rexx / eatfood2.amud < prev    next >
Text File  |  1997-03-08  |  272b  |  15 lines

  1. /* Medievia Script to get food
  2.  * Works with the following trigger:
  3.  *
  4.  * trigger=ou are hungry
  5.  * #rx eatfood2.amud\nc create food\n
  6.  *
  7.  */
  8.  
  9. address 'AmiMUD.1'
  10.  
  11. 'am_waitfor "suddenly appear"'
  12.  
  13. food=word(LINEBUFFER,words(LINEBUFFER)-2)
  14. am_send '"get' food ';eat' food '"'
  15.